package com.king.zkrpc.api.impl;

import com.king.zkrpc.api.HelloService;
import com.king.zkrpc.common.protocol.RpcService;

/**
 * 实现服务接口
 */
@RpcService(HelloService.class) // 指定远程接口
public class HelloServiceImpl implements HelloService {

    public String hello(String name) {
        return "Hello! " + name;
    }
}